Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for 'disabled' prop to the DatePicker component #1447

Conversation

jchunky
Copy link

@jchunky jchunky commented Oct 8, 2024

No description provided.

@haideralsh
Copy link
Contributor

Thanks for the change @jchunky. It looks like we've introduced a bug with this change in the DateRange component. You can see in this story that the component is no longer disabled.

And here is the before and after.

@jchunky
Copy link
Author

jchunky commented Oct 9, 2024

We found that we could just pass 'disabled' to the 'inputProps' to resolve our issue that was motivating this pull request.

@jchunky
Copy link
Author

jchunky commented Oct 9, 2024

We don't need 'disabled' prop on the DatePicker, since we can pass 'disabled' via 'inputProps'.

@jchunky jchunky closed this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants